﻿@{
    Bundle("jquery_validate");
}
           
<script type="text/javascript">
    jQuery(document).ready(function () {
        jQuery('@ID("#form")').validate({
            rules: {
                id: {
                    digits: true
                }
            }
        });
    });
</script>
<form id="@ID("form")" action="@Url.Action(Loc.Act("GoTo").Ctrl("SalesItem"))" method="get">
    <ul>
        <li>
            <label>#</label>
        </li>
        <li>
            <input type="text" name="id" />
        </li>
        <li>
            <label>@T(Res.In("Common").Of("Vocab").Name("SKU"))</label>
        </li>
        <li>
            <input type="text" name="sku" />
        </li>
    </ul>
    <ul class="bar toolbar">
        <li><button class="button" type="submit">@T(Res.In("Common").Of("Act").Name("Submit"))</button></li>
    </ul>
</form>
